package cn.lg.soar.system.general.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @author luguoxiang
 * @date 2022/8/29
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class AddItemDTO {

    @NotBlank(message = "缺少code")
    @ApiModelProperty(value = "字典类型code")
    private String typeCode;

    @NotBlank(message = "缺少label")
    @ApiModelProperty(value = "字典标签")
    private String label;

    @ApiModelProperty(value = "备注")
    private String remark;

}
